home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-05-16 | 1.8 KB | 17 lines | [TEXT/KAHL] |
- /* CIcon.c */
-
- #include "CPicture.h"
- #include "CWindow.h"
-
-
- /* initialize the button */
- void CPicture::IPicture(LongPoint Start, LongPoint Extent, short ThePicture,
- short ThePictureSelected, char Key, short Modifiers, CWindow* TheWindow,
- CEnclosure* TheEnclosure)
- {
- ERROR(Initialized == True,PRERR(ForceAbort,
- "CPicture::IPicture called on already initialized object."));
- EXECUTE(Initialized = True);
- Picture = ThePicture;
- PictureSelected = ThePictureSelected;
- IButton(Start,Extent,Ke